package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.StrategyQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyService {


    PageInfo selectForList(StrategyQuery qo);


    void saveOrUpdate(Strategy strategy);

    List<Strategy> selectAll();

    List<Travel> selectTravelByStrategyId(Long strategyId);

    Strategy getTitleByStrategyId(Long strategyId);

}
